//
//  WOTableSection.h
//  WOPrototype
//
//  Created by Olof Millberg on 2010-04-26.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WOTableRow.h"


@interface WOTableSection : NSObject 
{
	NSString *title;
	NSMutableArray *rows;
}
@property (nonatomic, retain) NSString *title;
@property (nonatomic, retain) NSMutableArray *rows;

+ (id) sectionWithTitle:(NSString *)aTitle rows:(WOTableRow*)firstRow, ...;

- (NSInteger) numberOfRows;

- (NSString *) identifierAtRow:(NSInteger)row;

- (CGFloat) heightForRow:(NSInteger)row;

@end
